var express = require('express');

var app = express();

app.get("/", function (req, resp) {
    resp.send("this is express");
});

app.listen(8081, function () {
    console.log("express start...");
})

//引入解析json
var bodyparse=require('body-parser');

app.use(bodyparse.json())

exports.server=app


